package com.arouter.demo.minemodule.service;

import android.content.Context;
import android.widget.Toast;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.arouter.demo.baselib.router.RouterPath;
import com.arouter.demo.baselib.router.service.MineService;


/**
 * desc:
 * 2018-06-04 10:13
 */
@Route(path = RouterPath.MINE_SERVICE)
public class MineServiceImpl implements MineService {

    Context context;


    @Override
    public void sayHello(String name) {
        Toast.makeText(context, "Hello " + name, Toast.LENGTH_SHORT).show();
    }

    @Override
    public void init(Context context) {
        this.context = context;
    }
}
